package com.example.demo.entity.DTO;

import com.example.demo.entity.Article;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/*
 *
 *   @auto:软件 weiyang
 *   @Date 2024/5/31 14:15
 *
 */
@Data
public class UserDTO {
    @ApiModelProperty("用户ID, 主键")
    private Integer userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("电子邮件")
    private String email;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("收货地址")
    private String address;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "文章类")
    private Article article;
}
